package com.example.finance_oa.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.comment_oa.pojos.Additional;
import com.example.comment_oa.pojos.Budget;
import com.example.comment_oa.pojos_vo.AdditionalVo;
import com.example.comment_oa.pojos_vo.AdjustVo;

import java.util.List;

/**
 * @author Jin
 * @description 针对表【budget】的数据库操作Service
 * @createDate 2022-10-25 10:26:37
 */
public interface BudgetService extends IService<Budget> {
    //查询预算
    List<Budget> allBudget(Budget budget);


    //查询预算科目
    List<Budget> allBudgetKm();

    //查询预算额可用信息
    List<Budget> allXx(Budget budget);

    //upadate追加预算
    int updateZjys( AdditionalVo additionalVo);

    //预算变更
    int updateBgys(AdjustVo adjustVo);

    //根据年月查询预算期间是否存在
    List<Budget> selectYear(String year,String month);

}
